home *** CD-ROM | disk | FTP | other *** search
/ Varios Español / Varios Español.iso / PMAKER65 / archive.z / RUNFILEX.PS < prev    next >
Text File  |  1996-07-01  |  2KB  |  42 lines

  1. %!
  2. % PostScript program for distilling and combining multiple PostScript files.
  3. % When embedding font subsets, it is highly recommended you use this technique
  4. % to distill multiple PS files so only one font subset is used for each font.
  5.  
  6. /prun { /mysave save def       % Performs a save before running the PS file
  7.         dup = flush            % Shows name of PS file being run
  8.         RunFile                % Calls built in Distiller procedure
  9.         clear cleardictstack   % Cleans up after PS file
  10.         mysave restore         % Restores save level
  11. } def
  12.  
  13. (Macintosh HD:Folder:Cover.ps) prun
  14. (Macintosh HD:Folder:TOC.ps) prun
  15. (Macintosh HD:Folder:Chapter1.ps) prun
  16. (Macintosh HD:Folder:Chapter2.ps) prun
  17. (Macintosh HD:Folder:Chapter3.ps) prun
  18. (Macintosh HD:Folder:Index.ps) prun
  19.  
  20.  
  21.  
  22. % INSTRUCTIONS
  23. %
  24. % 1. Locate all PostScript files to be distilled.
  25. %
  26. % 2. Make a copy of this file and give it the name you want to have as the prefix
  27. %    for the resulting file. For example, you could name this file MyBook.ps. 
  28. %
  29. % 3. Include a line for each PostScript file to be run using the pathname syntax
  30. %    appropriate for the platform running Acrobat Distiller. 
  31. %
  32. %       Macintosh pathname syntax:  (Macintosh HD:Folder:File.ps) prun
  33. %       Windows pathname syntax:    (c:/mydir/file.ps) prun
  34. %        UNIX pathname syntax:        (./mydir/File.ps) prun
  35. %
  36. %       Note: The syntax for Windows may look strange, but double escaping the
  37. %             backslash character is required when using filenameforall.
  38. %
  39. % 4. Distill the file on the machine running Acrobat Distiller.
  40.  
  41.  
  42.